/*
 * Strike.h
 *
 *  Created on: 25/05/2011
 *      Author: DessaVida
 */

#ifndef STRIKE_H_
#define STRIKE_H_
#include "Component.h"
#include "math/Rectangle.h"

#include <vector>
#include <algorithm>
using namespace std;

class Strike :public Component{
private:
	int damage;
public:
	vector<int> *strikedObjs;
    int getDamage() const;
    void setDamage(int damage);

	Strike(int id, int damage);
	virtual ~Strike();

	bool onStrike(int id);
};

#endif /* STRIKE_H_ */
